#ifndef PICKCONTROLLER_H
#define PICKCONTROLLER_H

#include <CMPackSim_global.h>
#include <QtGui/QMainWindow>




namespace PackSim
{
class IBMPackSim;
class IUIMPackSim;
class Conveyor;
class EllipseItem;
class ItemCreator;

class PICKCONTROLLER_EXPORT CMPackSim :public QObject
{
	Q_OBJECT

public:
	CMPackSim();
	~CMPackSim();
	
	QMainWindow* getUI();
	void loadItems();


private slots:

	void onPickGuiOnStartClicked();
	void onPickGuiOnStopClicked();
	void onPickGuiOnStartCnvClicked();
	void onPickGuiOnStopCnvClicked();
	void onPickGuiOnStartCRTClicked();
	void onPickGuiOnStopCRTClicked();


	void onConveyorSignalItemEndOfCnv(Conveyor* aConveyor, EllipseItem* aItem);
	void onItemCreatorSignalItemsCreated(ItemCreator* aItemCreator, QList<EllipseItem*>& aItemList);
	

private:


private:

	IUIMPackSim* mUIMPackSim;
	IBMPackSim* mBMPackSim;



};

}
#endif // PICKCONTROLLER_H
